package com.demo.phonerepair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.phonerepair.pojo.Role;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {
    @Select("SELECT *FROM yjx_role")
    List<Role> listAllRoles();
}